package com.lin.videospringboot.been;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@TableName(value = "user")
public class User {

    @TableId(value = "userId", type = IdType.AUTO)//指定自增策略
    private int userId;
    private String name;
    private int age;
    private String sex;
    private String email;
    private String password;
    @TableField("backgroundURL")
    private String backgroundURL;
    private String url;
    private String description;
}
